Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix clearById method signature #158 #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

botflux
Copy link

@botflux botflux commented May 28, 2024

Hey,

I have the same problem as the author of #158 .
I've decided to fix the method signature in the type declaration and not touch the JS implementation for backward compatibility reasons.

This decision was the most logical from my point of view, please tell me if I'm wrong, and I can change the PR.

Note: The signature of clearById will be inconsistent with the signature of verifyById if clearById only accepts a string.
The signature of verifyById: verifyById (ExpectationId, number, number).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant